package com.zbest.common.lang.exception;

import java.io.Serializable;

import com.zbest.common.lang.base.BaseException;
import com.zbest.common.lang.enums.BizCode;

/**
 * 用于跨服务调用运行时异常<br/>
 *
 * Created by wu.charles on 2014/12/10.
 */
public class RemoteException extends BaseException implements Serializable {
    private static final long serialVersionUID = 4350868573071491642L;

    public RemoteException() {
        super();
    }

    public RemoteException(BizCode code, String message) {
        super(code, message);
    }

    public RemoteException(BizCode code, String message, Throwable cause) {
        super(code, message, cause);
    }

    public RemoteException(BizCode code, Throwable cause) {
        super(code, cause);
    }

    public RemoteException(boolean ignoreStackTrace) {
        super(ignoreStackTrace);
    }

    public RemoteException(BizCode code, String message, boolean ignoreStackTrace) {
        super(code, message, ignoreStackTrace);
    }

    public RemoteException(BizCode code, String message, Throwable cause, boolean ignoreStackTrace) {
        super(code, message, cause, ignoreStackTrace);
    }

    public RemoteException(BizCode code, Throwable cause, boolean ignoreStackTrace) {
        super(code, cause, ignoreStackTrace);
    }
}
